﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WjAutoConfigApp.Common;

namespace WjAutoConfigApp
{
    /// <summary>
    /// 全局缓存设置
    /// </summary>
    public class GlobleCache
    {
        /// <summary>
        /// 存储所有的已完成的区域
        /// </summary>
        public static List<AreaModel> areaList { get; set; } = new List<AreaModel>();

        /// <summary>
        /// 存储右键选中的区域
        /// </summary>
        public static List<AreaModel> fitAreas { get; set; } = new List<AreaModel>();

        /// <summary>
        /// 当前正在绘制的区域
        /// </summary>
        public static AreaModel areaModel { get; set; } = new AreaModel();

        /// <summary>
        /// 车道信息CSV文件
        /// </summary>
        public static CSV laneInfoCsv { get; set; } = new CSV();

        /// <summary>
        /// 车道属性
        /// </summary>
        public static CSV lanePropertyCsv { get; set; } = new CSV();
    }
}
